home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / Windows / System32 / HTMLRE90.DLL / HTML / 11024 < prev    next >
Encoding:
Text File  |  2002-07-05  |  2.3 KB  |  93 lines

  1. <HTML>
  2. <HEAD>
  3.   <LINK REL="stylesheet" TYPE="text/css" HREF="%5css/default.css">
  4. </HEAD>
  5. <BODY LEFTMARGIN="0" TOPMARGIN="0">
  6.  
  7. <script language="Javascript">
  8. //LOCALIZATION STRINGS
  9. var _errNoSelected = "No items have been selected yet.";
  10. var _strDelete = "Delete the selected item(s)?";
  11. </script>
  12.  
  13. <DIV ID="tooltip" STYLE="position:absolute;visibility:hidden;z-index:99;"></DIV>
  14.  
  15. <SCRIPT SRC="%5js/helps.js"></SCRIPT>
  16. <SCRIPT SRC="%5js/tips.js"></SCRIPT>
  17.  
  18. <SCRIPT language="JavaScript">
  19. var _numItems = %3;
  20. function selectAll()
  21. {
  22.     for(var i=1; i <= _numItems; i++)
  23.     {
  24.         document.ReportInstanceForm.elements["chkbox"+i].checked = true;
  25.     }
  26. }
  27.  
  28. function deselectAll()
  29. {
  30.     for(var i=1; i <= _numItems; i++)
  31.     {
  32.         document.ReportInstanceForm.elements["chkbox"+i].checked = false;
  33.     }
  34. }
  35.  
  36. function doSelectedAction(action)
  37. {
  38.     var items = "";
  39.     for(var i=1; i <= _numItems; i++)
  40.     {
  41.         if(document.ReportInstanceForm.elements["chkbox"+i].checked)
  42.             items += document.ReportInstanceForm.elements["chkbox"+i].value + "*";
  43.     }
  44.  
  45.     if(items != "")
  46.     {
  47.         if(action != "delete" || window.confirm(_strDelete))
  48.         {
  49.             document.ReportInstanceForm.checkedItems.value = items;
  50.             document.ReportInstanceForm.action += action;
  51.             document.ReportInstanceForm.submit();
  52.         }
  53.     }
  54.     else
  55.     {
  56.         alert(_errNoSelected);
  57.     }
  58. }
  59.  
  60. function runNow()
  61. {
  62.    // Set the action to "run-now"
  63.    document.ReportInstanceForm.action = "%4";
  64.    document.ReportInstanceForm.submit();
  65. }
  66.  
  67. function refresh()
  68. {
  69.     window.location = "%6";
  70. }
  71.  
  72. </SCRIPT>
  73.  
  74. <FORM action="%2" name="ReportInstanceForm" method=POST>
  75. <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%">
  76.   <TR CLASS="listHeading">
  77.     <TD CLASS="listHeading" WIDTH="30%" ALIGN="LEFT"><SPAN ID="text"> Instance Time</SPAN></TD>
  78.     <TD CLASS="listHeading" WIDTH="10%" ALIGN="LEFT"><SPAN ID="text">Status </SPAN></TD>
  79.     <TD CLASS="listHeading" WIDTH="10%" ALIGN="LEFT"><SPAN ID="text">Format </SPAN></TD>
  80.     <TD CLASS="listHeading" WIDTH="15%" ALIGN="LEFT"><SPAN ID="text">Run By </SPAN></TD>
  81.     <TD CLASS="listHeading" WIDTH="30%" ALIGN="LEFT"><SPAN ID="text">Parameters </SPAN></TD>
  82.     <TD CLASS="listHeading" WIDTH="5%" ALIGN="middle"><SPAN ID="text">Selected</SPAN></TD>        
  83.   </TR>
  84.   %1
  85.   <INPUT type=hidden name="checkedItems" value="">
  86. </TABLE>
  87. </FORM>
  88.  
  89.  
  90.  
  91. </BODY>
  92. </HTML>
  93.